all:server-tcp client-tcp client-udp server-udp client-udp-ipv6 server-udp-ipv6 client-tcp6 server-tcp6
server-tcp:server-tcp.c
	gcc -g server-tcp.c -o server-tcp
client-tcp:client-tcp.c
	gcc -g client-tcp.c -o client-tcp
server-udp:server-udp.c
	gcc -g server-udp.c -o server-udp
client-udp:client-udp.c
	gcc -g client-udp.c -o client-udp
server-udp-ipv6:server-udp-ipv6.c
	gcc -g server-udp-ipv6.c -o server-udp-ipv6
client-udp-ipv6:client-udp-ipv6.c
	gcc -g client-udp-ipv6.c -o client-udp-ipv6
server-tcp6:server-tcp6.c
	gcc -g server-tcp6.c -o server-tcp6
client-tcp6:client-tcp6.c
	gcc -g client-tcp6.c -o client-tcp6
clean:all
	rm client-tcp server-tcp client-udp server-udp client-udp-ipv6 server-udp-ipv6  client-tcp6 server-tcp6
